package com.lindenvalley.de.content;

import java.util.List;

import org.simpleframework.xml.Attribute;
import org.simpleframework.xml.ElementList;
import org.simpleframework.xml.Root;

@Root(strict=false)
public class Section {
	
	@Attribute
	private int id;	
	
	@Attribute
	private String name;
	
	@ElementList(inline=true, required=false)
	private List<Question> question;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @param question the question to set
	 */
	public void setQuestion(List<Question> question) {
		this.question = question;
	}
	/**
	 * @return the question
	 */
	public List<Question> getQuestion() {
		return question;
	}
	
	
	
	
}
